package com.diaohw.module.metadata.obj.dto;

import com.diaohw.module.metadata.obj.Status;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serial;
import java.io.Serializable;

/**
* 元数据信息 DTO
*
* @author D-Hw
* @since 2025-04-07
*/
@Data
@Accessors(chain = true)
@Schema(name = "MetaDO", description = "元数据信息 DTO")
public class MetaDTO implements Serializable {


    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 名称
     */
    @Schema(description = "名称")
    private String name;

    /**
     * 代码
     */
    @Schema(description = "代码;编辑时不可更改")
    private String code;

    /**
     * 别名
     */
    @Schema(description = "别名")
    private String alias;

    /**
     * 状态
     */
    @Schema(description = "状态")
    private Status status;

    /**
     * 备注
     */
    @Schema(description = "备注")
    private String remark;

}
